package com.ruoyi.crm.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 银行账户对象 bank_account
 *
 * @author ruoyi
 * @date 2021-09-01
 */
public class BankAccount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 账户名称 */
    @Excel(name = "账户名称")
    private String accountName;

    /** 银行账户 */
    @Excel(name = "银行账户")
    private String bankAccount;

    /** 开户银行 */
    @Excel(name = "开户银行")
    private String oacBank;

    /** 初始金额 */
    @Excel(name = "初始金额")
    private Long initialAcc;

    /** 当前余额 */
    @Excel(name = "当前余额")
    private Long balance;

    /** 是否有效 */
    @Excel(name = "是否有效")
    private String effective;

    /** 备注 */
    @Excel(name = "备注")
    private String comment;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setAccountName(String accountName)
    {
        this.accountName = accountName;
    }

    public String getAccountName()
    {
        return accountName;
    }
    public void setBankAccount(String bankAccount)
    {
        this.bankAccount = bankAccount;
    }

    public String getBankAccount()
    {
        return bankAccount;
    }
    public void setOacBank(String oacBank)
    {
        this.oacBank = oacBank;
    }

    public String getOacBank()
    {
        return oacBank;
    }
    public void setInitialAcc(Long initialAcc)
    {
        this.initialAcc = initialAcc;
    }

    public Long getInitialAcc()
    {
        return initialAcc;
    }
    public void setBalance(Long balance)
    {
        this.balance = balance;
    }

    public Long getBalance()
    {
        return balance;
    }
    public void setEffective(String effective)
    {
        this.effective = effective;
    }

    public String getEffective()
    {
        return effective;
    }
    public void setComment(String comment)
    {
        this.comment = comment;
    }

    public String getComment()
    {
        return comment;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("accountName", getAccountName())
                .append("bankAccount", getBankAccount())
                .append("oacBank", getOacBank())
                .append("initialAcc", getInitialAcc())
                .append("balance", getBalance())
                .append("effective", getEffective())
                .append("comment", getComment())
                .toString();
    }
}